<?php 
$db = new DBManager ( 'localhost', 'root', '', 'iumus' );
$query='SELECT id,title from movie where released like \'%2012\' and cover <> \'N/A\' limit 0,8;';
$result=$db->executeQuery ($query);
while($row=mysql_fetch_array($result)){
		echo '<li><a href="'.'infoFilm.php?idCs='.$row['id'].'">'.$row['title'].'</a></li>';
}
?>